package com.kl.modular.worm.service.api;


import com.kl.modular.base.service.api.IBaseService;
import com.kl.modular.worm.dao.model.WormPageRegular;

import java.util.List;

/**
 * 网页抓取正则service业务接口
 * @author staywood
 * @date 2018-04-18 13:25
 * @(C)  Copyright 
 */
public interface IWormPageRegularService extends IBaseService<WormPageRegular> {

    /**
     * 新增正则匹配
     * @param regularList
     */
    void addOrUpdate(List<String> regularList, String regularType);

    /**
     * 获取所有种子
     * @return
     */
    List<String> findTypeList(String type);

}